﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<bolsatrabajo.Dominio.NHIBERNATE.Postulante>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Lista de Postulantes
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Index</h2>
    <table>
        <tr>
        <td>
        
        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
							   codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
							   width="491" height="50">
                          <param name="movie" value="http://www.creativesolutions.com.pe/jcro/flash/menu_Flash7.swf?button=1" />
                          <param name="quality" value="high" />
                          <param name="menu" value="false" />
                          <!--[if !IE]> <-->
                          <object data="http://www.creativesolutions.com.pe/jcro/flash/menu_Flash7.swf?button=1"
								width="491" height="50" type="application/x-shockwave-flash">
                            <param name="quality" value="high" />
                            <param name="menu" value="false" />
                            <param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer" />
                            FAIL (the browser should render some flash content, not this).
                          </object>
                          <!--> <![endif]-->
                        </object>

        </td>
        </tr>
    </table> 
    <table>
        <tr>
            <th style="height: 27px">Acciones</th>
            <th style="height: 27px">Código</th>
            <th style="height: 27px">Nombres</th>
            <th style="height: 27px">Apellidos</th>
            <th style="height: 27px">Correo</th>
            
        </tr>

    <% foreach (var item in Model) { %>
    
        <tr>
            <td>
                <%: Html.ActionLink("Editar", "Edit", new { Codigo = item.Correo }) %> |
                <%: Html.ActionLink("Ver", "Details", new { Codigo = item.Correo })%> |
                <%: Html.ActionLink("Eliminar", "Delete", new { Codigo = item.Correo })%>
            </td>
            <td>
                <%: item.Dni %>
            </td>
            <td>
                <%: item.Nombres %>
            </td>
            <td>
                <%: item.ApellidoPaterno %>
            </td>
            <td>
                <%: item.Correo %>
            </td>
        </tr>
    
    <% } %>

    </table>

    <p>
        <%: Html.ActionLink("Nuevo", "Create") %>
    </p>

</asp:Content>

